POV-Ray : Newsgroups : povray.advanced-users : Simulating vignetting in a camera : Re: Simulating vignetting in a camera Server Time
29 Jul 2024 04:23:51 EDT (-0400)
  Re: Simulating vignetting in a camera  
From: Slime
Date: 7 Feb 2003 16:30:47
Message: <3e442587@news.povray.org>
> Does anyone know how to simulate the vignetting that was present in old
> camera lenses - a loss of brightness towards the edge of the field, say
> according to a cosine law?


Simple solution: put a sphere around the camera, textured with a cylindrical
texture (so the values you give in your color_map correspond to the cosine
of the angle), using colors of rgbf<?,?,?,1> where the ? goes from 0 at the
edges to 1 in the center.

 - Slime
[ http://www.slimeland.com/ ]


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.